package com.base.service.client;

import java.util.*;
import com.base.bean.*;

public class ClientFormBean {
	private Integer cid;
	private ClientBase cb;
	private ClientExtend ce;
	private List<ClientPhone> phones;
	private ClientXattr cx;
	private String tip;
	private Integer owner;
	private String ownName;
	private Integer state;
	
	public ClientFormBean() {
		this.cid=0;
		this.cb=new ClientBase();
		this.ce=new ClientExtend();
		this.phones=new ArrayList<ClientPhone>();
		this.cx=new ClientXattr();
		this.tip="";
		this.owner=0;
		this.ownName="";
		this.state=0;
	}
	
	ClientFormBean(Integer cid) {
		super();
		this.cid = cid;
	}
	
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	public ClientBase getCb() {
		return cb;
	}
	public void setCb(ClientBase cb) {
		this.cb = cb;
	}
	public ClientExtend getCe() {
		return ce;
	}
	public void setCe(ClientExtend ce) {
		this.ce = ce;
	}
	public List<ClientPhone> getPhones() {
		return phones;
	}
	public void setPhones(List<ClientPhone> phones) {
		this.phones = phones;
	}
	public ClientXattr getCx() {
		return cx;
	}
	public void setCx(ClientXattr cx) {
		this.cx = cx;
	}

	public String getTip() {
		return tip;
	}

	public void setTip(String tip) {
		this.tip = tip;
	}

	/**
	 * 
	 * @return 0:初始化  1:正常  2:过期  3:冲突  4:作废
	 */
	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getOwner() {
		return owner;
	}

	public void setOwner(Integer owner) {
		this.owner = owner;
	}

	public String getOwnName() {
		return ownName;
	}

	public void setOwnName(String ownName) {
		this.ownName = ownName;
	}

	

	
	
	
	

}
